<?php
// +----------------------------------------------------------------------
// | 后台接口定义
// +----------------------------------------------------------------------
use think\facade\Route;

Route::post('admin/auth/login', '\app\controller\admin\AuthController@login');

Route::group('admin', function () {
    Route::post('auth/logout', '\app\controller\admin\AuthController@logout');
})->middleware('auth', 'api_for_admin');
